package com.situ.day12;

public class MyException extends Exception{

	private Double money;

	
	public MyException() {
		super();
	}

	public MyException(Double money) {
		super("余额不足，还差" + money);
		this.money = money;
	}

	public Double getMoney() {
		return money;
	}

	public double setMoney(Double money) {
		return this.money = money;
	}
	
	
}
